import Vue from 'vue'
import App from './App.vue'
import router from './router'

import './plugins/element.js'
import "@/assets/font/iconfont.css";


import store from '@/vuex';
import filters from '@/filters'
Object.keys(filters).forEach(key => Vue.filter(key, filters[key]))

import VueQuillEditor from 'vue-quill-editor'  //引入富文本编译器
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor);

import less from 'less'
Vue.use(less)

//qs
import qs from 'qs'
Vue.prototype.$qs = qs

Vue.config.productionTip = false;


// lodash
import _ from 'lodash'
Vue.prototype._ = _

//滚动条
import HappyScroll from 'vue-happy-scroll'
import 'vue-happy-scroll/docs/happy-scroll.css'
Vue.use(HappyScroll)


import VideoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')

Vue.use(VideoPlayer)

import * as echarts from 'echarts'
Vue.prototype.$echarts=echarts

new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app')
